#ifndef __SEM_H__
#define __SEM_H__
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>

int sem_create(int nsems, unsigned short values[]);
int sem_p(int semid, int semnum);
int sem_v(int semid, int semnum);
int sem_delete(int semid);

#endif
